<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>基本数据类型</title>
</head>
<body>


    <script>
        /*1. 数字类型*/
        console.log(2.4+3.6)

        console.log(Infinity)  //正无穷大
        console.log(-Infinity) //负无穷大

        console.log(3===3)
        console.log(NaN === NaN)

        /*2. 字符串类型*/
        var str1 = "Hello World"
        var str2 = '你好，世界！'

        /*3. boolean类型*/
        var b1 = true;
        var b2 = false;

        console.log(str1)
        console.log(b1)

        /*4. undefined*/
        var b;
        console.log(b)

        /*5. null*/
        var a = null;
        console.log(a)

    </script>
</body>
</html>